

OBJ=obj
SRC=src
EXE=bin
CPPFLAGS=-c -g
CXX=g++

SRCFILES=
OBJFILES=$(OBJ)/strReplace.o

all: testStrReplace.exe \
     install

testStrReplace.exe : $(OBJ)/testStrReplace.o $(OBJFILES)
	$(CXX) -o $@ $^

$(OBJ)/%.o : $(SRC)/%.cpp
	$(CXX) $(CPPFLAGS) -o $@ $<

install:
	mv *.exe $(EXE)/.

clean:
	rm -rf 	$(OBJ)/*.o $(EXE)/*.exe
